package com.talent.service.order.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName：AlipayController
 * @Author: hszhou
 * @Date: 2025/3/24 14:18
 * @Description: 支付宝相关接口
 */
@RestController
@RequestMapping("alipay")
public class AlipayController {


    @PostMapping("notify")
    public String payNotify(HttpServletRequest request){


        boolean equals =("TRADE_SUCCESS").equals( request.getParameter("trade_status"));
        if (equals){

        }
        return "success";
    }
}
